import request from "@/utils/request";

/* 获取所有企业 */
export function getCompanyManagerList() {
  return request({
    url: "/company/manager/getCompanyManagerList",
    method: "post",
  });
}

/**
 * 查询列表
 * limit 页面条数
 * page 页码
 **/
export function getList(query) {
  return request({
    url: "/innovation/queryTechnologyInnovationList",
    method: "get",
    params: query
  });
}

// 查询详细
export function getInfo(id) {
  return request({
    url: "/innovation/getTechnologyInnovationById",
    method: "get",
    params: {
      id
    }
  });
}

// 新增配置
export function addInfo(data) {
  return request({
    url: "/innovation/addTechnologyInnovation",
    method: "post",
    data
  });
}

// 修改配置
export function updateInfo(data) {
  return request({
    url: "/innovation/updateTechnologyInnovation",
    method: "post",
    data
  });
}

// 删除配置
export function deleteInfo(ids) {
  return request({
    url: "/innovation/delTechnologyInnovationByIds",
    method: "get",
    params: {
      ids
    }
  });
}
